﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Limpio.Master" Inherits="System.Web.Mvc.ViewPage<FONCREAGROINTEGRAL.Models.CARGO>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Edit
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">


    <% using (Html.BeginForm("Edit", "cargo", FormMethod.Post, new { id = "cargo" }))
       {%>
        <%: Html.ValidationSummary(true)%>

            <div class="divLC">
            <div class="divLabel2">
                <%: Html.LabelFor(model => model.NomCargo)%>
            </div>
            <div class="divcampo2">
                <%: Html.TextBoxFor(model => model.NomCargo)%>
                <%: Html.ValidationMessageFor(model => model.NomCargo)%>
            </div>
            </div>
            <div class="divLC">
            <div class="divLabel2">
                <%: Html.LabelFor(model => model.DescCargo)%>
            </div>
            <div class="divcampo2">
                <%: Html.TextBoxFor(model => model.DescCargo)%>
              
            </div>
            </div>
            

            <hr />
            <p>
                <input type="submit" value="Guardar" id ="bsubmit"/>
            </p>

    <% } %>

    </asp:Content>
